package pers.wechat.config.pay;

/**
 * 微信支付URL
 */
public enum URL {

    UNIFIEDORDER("https://api.mch.weixin.qq.com/pay/unifiedorder"),// 统一下单
    ORDERQUERY("https://api.mch.weixin.qq.com/pay/orderquery"),// 订单查询
    CLOSEORDER("https://api.mch.weixin.qq.com/pay/closeorder"),// 关闭订单
    REFUND("https://api.mch.weixin.qq.com/secapi/pay/refund"),// 申请退款
    REFUNDQUERY("https://api.mch.weixin.qq.com/pay/refundquery"),// 查询退款
    DOWNLOADBILL("https://api.mch.weixin.qq.com/pay/downloadbill"),// 下载对账单
    DOWNLOADFUNDFLOW("https://api.mch.weixin.qq.com/pay/downloadfundflow");// 下载资金账单

    private String url;

    URL(String url) {
        this.url = url;
    }

    public String getUrl() {
        return url;
    }
}
